<?php

use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Schedule;

Artisan::command('inspire', function () {
    $this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');

// 定时脚本
// Schedule::command('mytest')->everyMinute();


// 每天 5 点汇总收益和支出
Schedule::command('assets:summary-trend')->dailyAt('05:00');
